package practice;

import java.util.Arrays;
import java.util.List;

public class TestArrays {
    public static void main(String[] args) {
        List<String> list = Arrays.asList("java","world","hello","highcom");
        System.out.println("list = " + list);

        String[] arr = {"java","world","hello"};
        String[] strings = Arrays.copyOf(arr,arr.length*2);
        System.out.println("strings = " +Arrays.toString(strings));
    }
}
